package com.njit.farm.dao;

import com.njit.farm.dataobject.FUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FUserMapper {
    int deleteByPrimaryKey(String id);

    int insert(FUser record);

    FUser selectByPrimaryKey(String id);

    List<FUser> selectAll();

    int updateByPrimaryKey(FUser record);

    FUser selectByPhone(String phone);
}